#include "location.h"

Location::Location(QWidget *parent) :
	QLabel(parent), value_(0)
{
	setAttribute(Qt::WA_TranslucentBackground,true);
	setStyleSheet("background-color:rgba(255, 255, 0, 0)");
}

void Location::mousePressEvent(QMouseEvent *ev)
{
	QLabel::mousePressEvent(ev);
	emit clicked(this);
}
